{{partial('public/header')}}
<!--main-->
<div class="midder">

<div class="mc">
<div class="cleft">

{{partial('index/user_header')}}

<div class="clear"></div>

<div id="recs" class="">
    <h2>
        {% if strUser['userid'] == visitor['userid'] %}
          我的发布的帖子
        {% else %}
          {{strUser['username']}}发布的帖子
        {% endif %}
         &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <!-- <span class="pl">&nbsp;(
                <a href="#">全部</a>
            ) </span> -->
    </h2>
<!--
<div class="spacetopic">
    <if condition="!empty($arrMyTopic)">
    <table width="100%">
        <foreach name="arrMyTopic" item="item">
        <tr>
        <td><img src="__PUBLIC__/Static/images/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" />
        <a href="{:U('group/topic/show',array('id'=>$item['topicid']))}">{$item['title']}</a>&nbsp;&nbsp;</td>
        <td><if condition="$item['count_comment']">{$item['count_comment']}</if></td>
        <td style="width:120px;text-align:right;color:#999999;"><php> echo date('Y-m-d H:i',$item['addtime'])</php></td>
        </tr>
        </foreach>
    </table>
    <else/>
    <div style="padding:50 0;color:#999999;">这个人很懒，什么也不愿意留下！</div>
    </if>
</div>
-->

<div class="clear"></div>
</div>

<div id="recs" class="">
    <h2> 
        {% if isMe %}
        我回复的帖子
        {% else %}
        {{strUser['username']}}回复的帖子
        {% endif %}
         &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
           <!--  <span class="pl">&nbsp;(
                <a href="#">全部</a>
            ) </span> -->
    </h2>
<!--
<div class="spacetopic">
    <if condition="!empty($arrMyComment)">
    <table width="100%">
    <foreach name="arrMyComment" item="item">
        <tr>
        <td><img src="__PUBLIC__/Static/images/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" />
        <a href="{:U('group/topic/show',array('id'=>$item[topicid]))}">{$item[title]}</a>&nbsp;&nbsp;</td>
        <td><if condition="$item[count_comment]">{$item[count_comment]}</if></td>
        <td style="width:120px;text-align:right;color:#999999;"><php> echo date('Y-m-d H:i',$item[addtime])</php></td>
        </tr>
    </foreach>
    </table>
    <else/>
    <div style="padding:50 0;color:#999999;">这个人很懒，什么也不愿意留下！</div>
    </if>
</div>
-->
<div class="clear"></div>
</div>

<div id="recs" class="">
    <h2>
         {% if isMe %}
        我喜欢的帖子
         {% else %}
        {{strUser['username']}}喜欢的帖子
         {% endif %}
         &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <!-- <span class="pl">&nbsp;(
                <a href="#">全部</a>
            ) </span> -->
    </h2>
<!--
<div class="spacetopic">
    <if condition="!empty($arrMyCollect)">
    <table width="100%">
    <foreach name="arrMyCollect" item="item">
        <tr>
        <td><img src="__PUBLIC__/Static/images/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" />
        <a href="{:U('group/topic/show',array('id'=>$item[topicid]))}">{$item[title]}</a>&nbsp;&nbsp;</td>
        <td><if condition="$item['count_comment']">{$item['count_comment']}</if></td>
        <td style="width:120px;text-align:right;color:#999999;"><php> echo date('Y-m-d H:i',$item[addtime])</php></td>
        </tr>
    </foreach>
    </table>
    <else/>
    <div style="padding:50 0;color:#999999;">这个人很懒，什么也不愿意留下！</div>
    </if>
</div>
-->

<!--
<div id="photo" class="sort">
    <h2>
    	{% if isMe %}
        我的相册
        {% else %}
        {{strUser['username']}}的相册
    	{% endif %}
        &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span class="pl">&nbsp;(<a href="{:U('space/photos/index',array('id'=>$strUser[userid]))}">全部</a>) </span></h2>
    <div class="bd">
    	<volist name="arrAlbum" id="vo">
        <div class="photoin">
            <a title="{$vo.albumname}" href="{:U('space/photos/album',array('id'=>$vo[albumid]))}" class="nbg"><img class="album_s" src="{$vo.simg}" width="100" height="100" alt="{$vo.albumname}"></a>
            <div class="info pl">
            	<p><a href="">{$vo.albumname}</a></p>{$vo.uptime|date="Y-m-d",###} 更新
            </div>
        </div>
        </volist>       
    </div>
</div>
-->

<div class="clear"></div>
</div>



<div class="clear"></div>

</div>

<div class="cright">

<div id="profile">

<div class="infobox">
<div class="ex1"><span></span></div>
<div class="bd">
<img alt="" class="userface" src="{{strUser['face_240']}}">
<div class="user-info">
常居：&nbsp;{{strUser['area']['areaname']}}
<br />
<div class="pl">UID：{{strUser['userid']}} <br>{{date('Y-m-d',strUser['reg_time'])}}</php> 加入</div>
<div class="pl">角色：<a href="{{url('home/user/level')}}">{{strUser['level']['rolename']}}</a></div>
<div class="pl">积分：<a href="{{url('home/user/score/'~strUser['userid'])}}">{{strUser['count_score']}}</a></div>

{% if !isMe %}
<div class="user-opt">

    {% if strUser['isfollow'] %}
    <div class="user-group" style="display: block;">
        <span class="user-cs">已关注</span>
        <span class="user-rs"><a href="{{url('space/contact/unfollow/'~strUser['userid'])}}">取消关注</a></span>
    </div>
    {% else %}
    <a class="a-btn-add mr10 add_contact" href="{{url('space/contact/userfollow/'~strUser['userid'])}}">关注此人</a>
    {% endif %}
    <a href="{{url('home/message/write/'~strUser['userid'])}}" rel="nofollow" class="a-btn mr5">发消息</a>
    <div id="divac"></div>
</div>
{% endif %}
</div>

<div class="sep-line"></div>
<div class="user-intro">

<div class="j edtext pl" id="edit_intro">
<span id="intro_display">
性别：{% if strUser['sex'] ==0 %}保密{%elseif strUser['sex'] ==1%}男{%else%}女{%endif%}<br />
博客：{{strUser['blog']}}<br />
关于：{{strUser['about']}}<br />
签名：{{strUser['signed']}}<br />

{% if isMe %}
[<a href="{{url('home/user/setbase')}}">修改基本信息</a>]
{% endif %}

</span>
</div>

</div>

</div>
<div class="ex2"><span></span></div>
</div>


</div>
<div class="clear"></div>

<div id="friend">

<h2>
    {% if isMe %}
         我关注的人
    {% else %}
    {{strUser['username']}}关注的人
    {% endif %}
    &nbsp;·&nbsp;·&nbsp;·
    <span class="pl">&nbsp;(
    <a href="{{url('space/contact/follow/'~strUser['userid'])}}">全部{{strUser['count_follow']}}</a>
    ) </span>
</h2>
{%if strUser['followUser']%}
{% for item in  strUser['followUser']%}
<dl class="obu"><dt><a class="nbg" href="{{url('space/'~item['doname'])}}"><img alt="{{item['username']}}" class="m_sub_img" src="{{item['face_48']}}"></a></dt>
<dd><a href="{{url('space/'~item['doname'])}}">{{item['username']}}</a></dd>
</dl>
{% endfor%}
{% else %}
<p>你还没有粉丝，赶快去关注 <a href="{{url('home/user/activeusers')}}">活跃会员&gt;&gt;</a></p>
{%endif%}

<br clear="all">
{%if strUser['count_followed'] %}
<a href="{{url('space/contact/followed/'~strUser['userid'])}}">&gt; 被{{strUser['count_followed']}}人关注</a>
{%endif%}
</div>
<!--
    <div id="group" class="">
    
        <h2>
            {% if isMe %}
            我参加的小组
            {% else %}
            {{strUser['username']}}参加的小组
            {% endif %}
            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
            <span class="pl">&nbsp;(
            <a href="{:U('group/mygroups',array('userid'=>$strUser[userid]))}">全部</a>
            ) </span>
            
        </h2>
    
        <foreach name="arrMyGroup" item="item">
            <dl class="ob"><dt><a href="{:U('group/index/show',array('id'=>$item[groupid]))}"><img alt="{$item[groupname]}" class="m_sub_img" src="{$item[icon_48]}"></a></dt>
            <dd><a href="{:U('group/index/show',array('id'=>$item[groupid]))}">{$item[groupname]}</a> <span>({$item[count_user]})</span></dd>
            </dl>
        </foreach>
    
        <div class="clear"></div>
    </div>
-->   
	<br/>
	<p class="pl">本页永久链接: <a href="{{SITE_URL}}space/{{strUser['doname']}}">{{SITE_URL}}space/{{strUser['doname']}}</a></p>
	<br>
    
</div>


</div>
</div>